import { registerPlugin } from '@capacitor/core';

import type { ScreenPlugin } from './definitions';

const Screen = registerPlugin<ScreenPlugin>('Screen', {
  web: () => import('./web').then(m => new m.ScreenWeb()),
});

export * from './definitions';
export { Screen };
